package com.jy.adscm.operation.mscyb.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-12-07
 */
public class JqwbMachinemaintenance implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "TID", type = IdType.AUTO)
    private Integer tid;
    private String taskcode;
    private String userdeptname;
    @TableField(exist = false)
    private String userdeptnameName;
    private String machinename;
    @TableField(exist = false)
    private String machinenameName;
    private String machinetype;
    private Date machineoutfactorytime;
    private String machineoutfactoryqrcode;
    private String outfactorycode;
    private String customercode;
    private Date machinestartusetime;
    private String setupmachineperson;
    private String trainperson;
    private String createperson;
    @TableField(exist = false)
    private String createpersonName;
    private Date createtime;
    private String armcode;
    private String stmcode;

    public String getCreatepersonName() {
        return createpersonName;
    }

    public void setCreatepersonName(String createpersonName) {
        this.createpersonName = createpersonName;
    }

    public String getUserdeptnameName() {
        return userdeptnameName;
    }

    public void setUserdeptnameName(String userdeptnameName) {
        this.userdeptnameName = userdeptnameName;
    }

    public String getMachinenameName() {
        return machinenameName;
    }

    public void setMachinenameName(String machinenameName) {
        this.machinenameName = machinenameName;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTaskcode() {
        return taskcode;
    }

    public void setTaskcode(String taskcode) {
        this.taskcode = taskcode;
    }

    public String getUserdeptname() {
        return userdeptname;
    }

    public void setUserdeptname(String userdeptname) {
        this.userdeptname = userdeptname;
    }

    public String getMachinename() {
        return machinename;
    }

    public void setMachinename(String machinename) {
        this.machinename = machinename;
    }

    public String getMachinetype() {
        return machinetype;
    }

    public void setMachinetype(String machinetype) {
        this.machinetype = machinetype;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getMachineoutfactorytime() {
        return machineoutfactorytime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setMachineoutfactorytime(Date machineoutfactorytime) {
        this.machineoutfactorytime = machineoutfactorytime;
    }

    public String getMachineoutfactoryqrcode() {
        return machineoutfactoryqrcode;
    }

    public void setMachineoutfactoryqrcode(String machineoutfactoryqrcode) {
        this.machineoutfactoryqrcode = machineoutfactoryqrcode;
    }

    public String getOutfactorycode() {
        return outfactorycode;
    }

    public void setOutfactorycode(String outfactorycode) {
        this.outfactorycode = outfactorycode;
    }

    public String getCustomercode() {
        return customercode;
    }

    public void setCustomercode(String customercode) {
        this.customercode = customercode;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getMachinestartusetime() {
        return machinestartusetime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setMachinestartusetime(Date machinestartusetime) {
        this.machinestartusetime = machinestartusetime;
    }

    public String getSetupmachineperson() {
        return setupmachineperson;
    }

    public void setSetupmachineperson(String setupmachineperson) {
        this.setupmachineperson = setupmachineperson;
    }

    public String getTrainperson() {
        return trainperson;
    }

    public void setTrainperson(String trainperson) {
        this.trainperson = trainperson;
    }

    public String getCreateperson() {
        return createperson;
    }

    public void setCreateperson(String createperson) {
        this.createperson = createperson;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatetime() {
        return createtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getArmcode() {
        return armcode;
    }

    public void setArmcode(String armcode) {
        this.armcode = armcode;
    }

    public String getStmcode() {
        return stmcode;
    }

    public void setStmcode(String stmcode) {
        this.stmcode = stmcode;
    }

    @Override
    public String toString() {
        return "JqwbMachinemaintenance{" +
                "tid=" + tid +
                ", taskcode='" + taskcode + '\'' +
                ", userdeptname='" + userdeptname + '\'' +
                ", userdeptnameName='" + userdeptnameName + '\'' +
                ", machinename='" + machinename + '\'' +
                ", machinenameName='" + machinenameName + '\'' +
                ", machinetype='" + machinetype + '\'' +
                ", machineoutfactorytime=" + machineoutfactorytime +
                ", machineoutfactoryqrcode='" + machineoutfactoryqrcode + '\'' +
                ", outfactorycode='" + outfactorycode + '\'' +
                ", customercode='" + customercode + '\'' +
                ", machinestartusetime=" + machinestartusetime +
                ", setupmachineperson='" + setupmachineperson + '\'' +
                ", trainperson='" + trainperson + '\'' +
                ", createperson='" + createperson + '\'' +
                ", createpersonName='" + createpersonName + '\'' +
                ", createtime=" + createtime +
                ", armcode='" + armcode + '\'' +
                ", stmcode='" + stmcode + '\'' +
                '}';
    }
}
